package com.hdax.dm.dto.user;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class TokenDto implements Serializable {
    private String token;
    private Long extTime;
    private Long genTime;
    private String nickName;
    private Long userId;
    private String phone;
    private String realName;
    private Long sex;
    private String idCard;

    public void setId(Long userId) {
        this.userId = userId;
    }
}
